package com.car.entity;

import javax.xml.crypto.Data;
import java.io.Serializable;
import java.util.Date;

public class Product implements Serializable {
    private int pid;
    private int kid;
    private String pname;
    private int price;
    private int sale_high;
    private int stock;
    private String status;
    private String miaoshu;
    private Date regtime;
    private Date churegtime;
    private String jilu;
    private int digits;
    private String kname;
    private int stockc;
    private String digit;
    private String sx;
    private Data regtime1;

    public Data getRegtime1() {
        return regtime1;
    }

    public void setRegtime1(Data regtime1) {
        this.regtime1 = regtime1;
    }

    public String getSx() {
        return sx;
    }

    public void setSx(String sx) {
        this.sx = sx;
    }

    public String getDigit() {
        return digit;
    }

    public void setDigit(String digit) {
        this.digit = digit;
    }

    public int getStockc() {
        return stockc;
    }

    public void setStockc(int stockc) {
        this.stockc = stockc;
    }

    public int getDigits() {
        return digits;
    }

    public void setDigits(int digits) {
        this.digits = digits;
    }

    public Date getChuregtime() {
        return churegtime;
    }

    public void setChuregtime(Date churegtime) {
        this.churegtime = churegtime;
    }

    public String getJilu() {
        return jilu;
    }

    public void setJilu(String jilu) {
        this.jilu = jilu;
    }


    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public int getKid() {
        return kid;
    }

    public void setKid(int kid) {
        this.kid = kid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getSale_high() {
        return sale_high;
    }

    public void setSale_high(int sale_high) {
        this.sale_high = sale_high;
    }

    public int getStock() {
        return stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMiaoshu() {
        return miaoshu;
    }

    public void setMiaoshu(String miaoshu) {
        this.miaoshu = miaoshu;
    }

    public Date getRegtime() {
        return regtime;
    }

    public void setRegtime(Date regtime) {
        this.regtime = regtime;
    }


    public String getKname() {
        return kname;
    }

    public void setKname(String kname) {
        this.kname = kname;
    }



    @Override
    public String toString() {
        return "Product{" +
                "pid=" + pid +
                ", kid=" + kid +
                ", pname='" + pname + '\'' +
                ", price=" + price +
                ", sale_high=" + sale_high +
                ", stock=" + stock +
                ", status='" + status + '\'' +
                ", miaoshu='" + miaoshu + '\'' +
                ", regtime=" + regtime +
                ", churegtime=" + churegtime +
                ", jilu='" + jilu + '\'' +
                ", kname='" + kname + '\'' +
                '}';
    }
}